import requests
from requests import cookies

jar = cookies.RequestsCookieJar()
jar.set('lover', 'liuling', domain='httpbin.org', path='/cookies')
jar.set('name', 'huhx', domain='httpbin.org', path='/cookies')
jar.set('gross_cookie', 'blech', domain='httpbin.org', path='/elsewhere')
url = 'http://httpbin.org/cookies'

r = requests.get(url, cookies=jar)
print(r.text)

# requests.get('http://github.com', timeout=0.001)